package com.siwei.mes.mapper.laboratory;

import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import com.siwei.mes.entity.laboratory.fly.DataFlyAdx;
import com.siwei.mes.entity.laboratory.fly.DataFlyHsl;
import com.siwei.mes.entity.laboratory.fly.DataFlyXd;
import com.siwei.mes.entity.laboratory.fly.DataFlyXslb;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface FlyAshLaboratoryMapper {

    //根据样品编码查询粉煤灰安定性
    @DataSource(DataSourceNames.LABORATORY)
    public DataFlyAdx findDATA_YCL_FMH_ADXBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粉煤灰安定性
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_FMH_ADX(DataFlyAdx dataFlyAdx);

    //修改粉煤灰安定性
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_FMH_ADX(DataFlyAdx dataFlyAdx);


    //根据样品编码查询粉煤灰含水率
    @DataSource(DataSourceNames.LABORATORY)
    public DataFlyHsl findDATA_YCL_FMH_HSLBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粉煤灰含水率
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_FMH_HSL(DataFlyHsl dataFlyHsl);

    //修改粉煤灰含水率
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_FMH_HSL(DataFlyHsl dataFlyHsl);


    //根据样品编码查询粉煤灰细度
    @DataSource(DataSourceNames.LABORATORY)
    public DataFlyXd findDATA_YCL_FMH_XDBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粉煤灰细度
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_FMH_XD(DataFlyXd dataFlyXd);

    //修改粉煤灰细度
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_FMH_XD(DataFlyXd dataFlyXd);

    //根据样品编码查询需水量比
    @DataSource(DataSourceNames.LABORATORY)
    public DataFlyXslb findDATA_YCL_FMH_XSLBBySampleNo(@Param("sampleNo") String sampleNo);

    //新增粉煤灰需水量比
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_FMH_XSLB(DataFlyXslb dataFlyXslb);

    //修改粉煤灰需水量比
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_FMH_XSLB(DataFlyXslb dataFlyXslb);

}
